﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;

namespace InformationExtraction
{
    class Sentence
    {
        public string RawSentence { get; private set; }        
        public string PlainText { 
            get
            {
                if (_plainText == null)
                {
                    _plainText = Extractor.StripPos(RawSentence);
                }
                return _plainText;
            }
        }

        private string _plainText = null;

        public Sentence(string rawData)
        {
            this.RawSentence = rawData;
        }        
    }
}
